﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AD1 RID: 2769
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MarkRelicFilterPlanCsReq : IMessage<MarkRelicFilterPlanCsReq>, IMessage, IEquatable<MarkRelicFilterPlanCsReq>, IDeepCloneable<MarkRelicFilterPlanCsReq>, IBufferMessage
	{
		// Token: 0x170022EE RID: 8942
		// (get) Token: 0x06007BE1 RID: 31713 RVA: 0x0014AA1D File Offset: 0x00148C1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MarkRelicFilterPlanCsReq> Parser
		{
			get
			{
				return MarkRelicFilterPlanCsReq._parser;
			}
		}

		// Token: 0x170022EF RID: 8943
		// (get) Token: 0x06007BE2 RID: 31714 RVA: 0x0014AA24 File Offset: 0x00148C24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MarkRelicFilterPlanCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170022F0 RID: 8944
		// (get) Token: 0x06007BE3 RID: 31715 RVA: 0x0014AA36 File Offset: 0x00148C36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MarkRelicFilterPlanCsReq.Descriptor;
			}
		}

		// Token: 0x06007BE4 RID: 31716 RVA: 0x0014AA3D File Offset: 0x00148C3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkRelicFilterPlanCsReq()
		{
		}

		// Token: 0x06007BE5 RID: 31717 RVA: 0x0014AA50 File Offset: 0x00148C50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkRelicFilterPlanCsReq(MarkRelicFilterPlanCsReq other) : this()
		{
			this.slotIndexList_ = other.slotIndexList_.Clone();
			this.isMark_ = other.isMark_;
			this.isBatchOp_ = other.isBatchOp_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007BE6 RID: 31718 RVA: 0x0014AA9D File Offset: 0x00148C9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkRelicFilterPlanCsReq Clone()
		{
			return new MarkRelicFilterPlanCsReq(this);
		}

		// Token: 0x170022F1 RID: 8945
		// (get) Token: 0x06007BE7 RID: 31719 RVA: 0x0014AAA5 File Offset: 0x00148CA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> SlotIndexList
		{
			get
			{
				return this.slotIndexList_;
			}
		}

		// Token: 0x170022F2 RID: 8946
		// (get) Token: 0x06007BE8 RID: 31720 RVA: 0x0014AAAD File Offset: 0x00148CAD
		// (set) Token: 0x06007BE9 RID: 31721 RVA: 0x0014AAB5 File Offset: 0x00148CB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsMark
		{
			get
			{
				return this.isMark_;
			}
			set
			{
				this.isMark_ = value;
			}
		}

		// Token: 0x170022F3 RID: 8947
		// (get) Token: 0x06007BEA RID: 31722 RVA: 0x0014AABE File Offset: 0x00148CBE
		// (set) Token: 0x06007BEB RID: 31723 RVA: 0x0014AAC6 File Offset: 0x00148CC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsBatchOp
		{
			get
			{
				return this.isBatchOp_;
			}
			set
			{
				this.isBatchOp_ = value;
			}
		}

		// Token: 0x06007BEC RID: 31724 RVA: 0x0014AACF File Offset: 0x00148CCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MarkRelicFilterPlanCsReq);
		}

		// Token: 0x06007BED RID: 31725 RVA: 0x0014AAE0 File Offset: 0x00148CE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MarkRelicFilterPlanCsReq other)
		{
			return other != null && (other == this || (this.slotIndexList_.Equals(other.slotIndexList_) && this.IsMark == other.IsMark && this.IsBatchOp == other.IsBatchOp && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007BEE RID: 31726 RVA: 0x0014AB40 File Offset: 0x00148D40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.slotIndexList_.GetHashCode();
			if (this.IsMark)
			{
				num ^= this.IsMark.GetHashCode();
			}
			if (this.IsBatchOp)
			{
				num ^= this.IsBatchOp.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007BEF RID: 31727 RVA: 0x0014ABA6 File Offset: 0x00148DA6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007BF0 RID: 31728 RVA: 0x0014ABAE File Offset: 0x00148DAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007BF1 RID: 31729 RVA: 0x0014ABB8 File Offset: 0x00148DB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IsMark)
			{
				output.WriteRawTag(80);
				output.WriteBool(this.IsMark);
			}
			if (this.IsBatchOp)
			{
				output.WriteRawTag(112);
				output.WriteBool(this.IsBatchOp);
			}
			this.slotIndexList_.WriteTo(ref output, MarkRelicFilterPlanCsReq._repeated_slotIndexList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007BF2 RID: 31730 RVA: 0x0014AC24 File Offset: 0x00148E24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.slotIndexList_.CalculateSize(MarkRelicFilterPlanCsReq._repeated_slotIndexList_codec);
			if (this.IsMark)
			{
				num += 2;
			}
			if (this.IsBatchOp)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007BF3 RID: 31731 RVA: 0x0014AC78 File Offset: 0x00148E78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MarkRelicFilterPlanCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.slotIndexList_.Add(other.slotIndexList_);
			if (other.IsMark)
			{
				this.IsMark = other.IsMark;
			}
			if (other.IsBatchOp)
			{
				this.IsBatchOp = other.IsBatchOp;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007BF4 RID: 31732 RVA: 0x0014ACD9 File Offset: 0x00148ED9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007BF5 RID: 31733 RVA: 0x0014ACE4 File Offset: 0x00148EE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 112U)
				{
					if (num == 80U)
					{
						this.IsMark = input.ReadBool();
						continue;
					}
					if (num == 112U)
					{
						this.IsBatchOp = input.ReadBool();
						continue;
					}
				}
				else if (num == 120U || num == 122U)
				{
					this.slotIndexList_.AddEntriesFrom(ref input, MarkRelicFilterPlanCsReq._repeated_slotIndexList_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002F4E RID: 12110
		private static readonly MessageParser<MarkRelicFilterPlanCsReq> _parser = new MessageParser<MarkRelicFilterPlanCsReq>(() => new MarkRelicFilterPlanCsReq());

		// Token: 0x04002F4F RID: 12111
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F50 RID: 12112
		public const int SlotIndexListFieldNumber = 15;

		// Token: 0x04002F51 RID: 12113
		private static readonly FieldCodec<uint> _repeated_slotIndexList_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x04002F52 RID: 12114
		private readonly RepeatedField<uint> slotIndexList_ = new RepeatedField<uint>();

		// Token: 0x04002F53 RID: 12115
		public const int IsMarkFieldNumber = 10;

		// Token: 0x04002F54 RID: 12116
		private bool isMark_;

		// Token: 0x04002F55 RID: 12117
		public const int IsBatchOpFieldNumber = 14;

		// Token: 0x04002F56 RID: 12118
		private bool isBatchOp_;
	}
}
